﻿using T4UtilityBelt.Serializers;
using T4UtilityBelt.UxDesigns;

namespace T4UtilityBelt.Templates
{
    public abstract class UxModelToXmlTemplate : UxTemplate
    {
        public string RenderXml()
        {
            XSerializer xs = new XSerializer();

            return xs.Serialize(this.UxDesign);
        }
    }
}